<template>
<h2>当前登录用户{{ Uname }}</h2>

</template>
<script setup lang="ts">
import { useRoute } from 'vue-router';
const route = useRoute()
var Uname=route.params.Uname



</script>